checkout: Dedup calls to memcache ref
authorColin Walters <walters@verbum.org>
Fri, 28 Apr 2017 22:02:22 +0000 (18:02 -0400)
committerAtomic Bot <atomic-devel@projectatomic.io>
Mon, 1 May 2017 15:13:06 +0000 (15:13 +0000)
commit8d8f06f21b3f316c927cd85b573c2e331534af4a
treea6b2b65635fa51e7926775b6c6f8d1e1ffc972c2
parentdae6cfba56efab5977786e9a519e8951a2e182db
checkout: Dedup calls to memcache ref

Minor, but I realized `checkout_tree_at()` is a better place to
do common setup before checkout.  Prep for
https://github.com/ostreedev/ostree/pull/813

Closes: #823
Approved by: jlebon
src/libostree/ostree-repo-checkout.c